package org.example.erpapicommon.Util.Param;

import org.example.erpapicommon.Util.PageQueryParam;

import java.util.Date;

public class PurchaseQueryParam extends PageQueryParam {
    //查询条件包括：产品名称、供应商名称、进货时间范围（起始日期 、结束日期）。
    protected static final String[] orderFields = new String[]{"id"};
    protected static final String[] allowOrderDirections = new String[]{"ASC", "DESC"};
    protected String productName;
    protected String supplierName;
    protected Date startDate;
    protected Date endDate;

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
